package com.t3;

/**
 * Created by xuyiwei on 2018/7/13.
 */
public class T3_4_4 {
    /**
     * 每秒速度
     * @param road
     * @param minite
     * @return
     */
    public double getSpeed(Double road,Long minite){
        double speed = 0l;
        if(minite!=null && minite!=0){
            speed = road/minite;
        }
        return speed;
    }
}
